package com.zkingsoft.service;

import java.util.List;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizCollageInfo;
import com.matrix.core.web.BaseServices;

/**
 * @description  service接口类 (团信息)
 * @author 何明
 * @date 2018-05-23 00:08
 */
public interface BizCollageInfoService  extends BaseServices<BizCollageInfo>{
	
	/**
	 * 新增
	 */
	public int add(BizCollageInfo bizCollageInfo);
   	
   	/**
	 * 批量新增
	 */
	public int batchAdd(List<BizCollageInfo>  bizCollageInfoList);
   	
   	/**
	 * 根据map键值对 更新
	 */
	public int modifyByMap(BizCollageInfo oldBizCollageInfo ,BizCollageInfo newBizCollageInfo);
	
	/**
	 * 根据对象 更新
	 */
	public int modifyByModel(BizCollageInfo bizCollageInfo);
	
	/**
	 * 批量删除
	 */
	public int remove(List<String> list);

	/**
	 * 根据id删除
	 */
	public int removeById(String cinfoId);
	
	/**
	 * 根据对象删除
	 */
	public int removeByModel(BizCollageInfo bizCollageInfo);
	
	/**
	 * 分页查询
	 */
	public List<BizCollageInfo> findInPage(BizCollageInfo bizCollageInfo, PaginationVO pageVo);

	/**
	 * 根据对象查询
	 */
	public List<BizCollageInfo> findByModel(BizCollageInfo bizCollageInfo);
	
	/**
	 * 统计记录数
	 */
	public int  findTotal(BizCollageInfo bizCollageInfo);
	
	/**
	 * 根据id查询
	 */
	public BizCollageInfo  findById(String cinfoId);

   	

  
}